#<?php die;?>
# ~form 开头的内容用于指定表单属性
~form:
  _subject: "添加帐号"
  _tips: true

# 指定字段及过滤器等信息

username:
  _ui: textbox
  _label: "用    户      名"
  _req: true
  _filters: ['trim']
  class: login_input

password:
  _ui: password
  _label: "密　　码"
  _req: true
  class: login_input
  
newpassword:
  _ui: password
  _label: "确认密码"
  _req: true
  class: login_input
groupid:
  _ui: dropdownlist
  _label: "用户组"
  _req: true
  onchange: changeGroupid(this.value)
  class: login_input1
name:
  _ui: textbox
  _label: "姓　　名"
  _req: true
  class: login_input
  
gender:
  _ui: dropdownlist
  _label: "性　　别"
  _req: true
  items: [女, 男]
  class: login_input1
 
    
valid:
  _ui: dropdownlist
  _label: "是否有效"
  items:
    1: "有效"
    0: "无效"
  _req: true
  class: login_input1
